package com.tonysong.ssm.service;

import com.github.pagehelper.PageInfo;
import com.tonysong.ssm.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 宋伟宁
 * @Date 2023/9/19
 * @Version 1.0
 **/
public interface UserService {

    PageInfo<User> getPageInfo(Integer offset, Integer pageSize);

    List<User> getAllUsers();

    User findById(Integer id);

    int save(User user);


    boolean batch_delete(String ids);

    User login(User user);
}
